import { http } from "./axios";
// 封装get请求，拿到后可以接回调
export const get = (url, data) => {
    return new Promise((resolve) => {
        http.get(url, data).then(res => {
            resolve(res)
        })
    })
}